package records

import (
	"github.com/golib/mysql"
)

const RecordNameOnlineStudentNodeStatis = "online_student_node_statis"

func init() {
	var r = &OnlineStudentNodeStatis{}
	mysql.RegisterRecord(r.Name(), r)
}

type OnlineStudentNodeStatis struct {
	NodeStatisId int    `json:"nodeStatisId" form:"nodeStatisId" column:"node_statis_id" primary:"true" modify:"false"`
	ModuleId     int    `column:"module_id" modify:"true" json:"moduleId" form:"moduleId"`
	TimeUsed     int    `column:"time_used" modify:"true" json:"timeUsed" form:"timeUsed"`
	RightRate    int    `json:"rightRate" form:"rightRate" column:"right_rate" modify:"true"`
	CreateTime   string `column:"create_time" modify:"false" json:"createTime" form:"createTime"`
	UpdateTime   string `json:"updateTime" form:"updateTime" column:"update_time" modify:"false"`
}

func (r *OnlineStudentNodeStatis) Name() string {
	return RecordNameOnlineStudentNodeStatis
}
